﻿/**
 * ...
 * @author 
 */

package list;
import client.INews;

class MailList extends NewList
{
	
	static private inline var SPACE_BETWEEN_ITEMS : UInt = 5;

	public function new() 
	{
		super(0,0,1,700);
	}
	
	public function addReceivedItem( item : INews, sender :String ) {
		content.push( new ReceivedItemPanel( item, getQuantity(), sender + "" ) ) ;
		draw();
	}
	
	public override function addItem (item : INews, type : Int) {
		
	}
}